package llama.ctrl;

import llama.core.ChatModelLocator;
import llama.core.IUser;
import llama.network.NetworkMessage;
import llama.network.NetworkMessage.Type;

public class RemoveContactCtrl implements IController{
	private IUser user;
	
	@Override
	public void execute() {
		ChatModelLocator.getChatModel().send(new NetworkMessage(user, Type.REMOVE_CONTACT));
	}
	
	public void setUser(IUser iUser){
		this.user = iUser;
	}
}
